package com.shop.dao;

import com.shop.beans.User;

import java.text.ParseException;
import java.util.List;

public  interface UserDao {
    void addUser(User user) throws ParseException;
    void updateUser(User user) throws ParseException;
    void deleteUser(int id) throws ParseException;
    List<User> getUsers();
    User getUserById(int id);
}
